package org.lanqiao.bean;


import java.io.Serializable;

/**
 * subContent
 * @author 
 */
public class SubContent implements Serializable {
    private Integer id;

    private Integer userId;

    private String userEmail;

    private String sendCycle;

    private String postName;

    private String jobAddress;

    private String developStage;

    private String professionField;

    private String salaryScope;

    /**
     * 状态（1.默认审核通过、2.审核）
     */
    private Integer stateId;

    private String date;

    private String b1;

    private String b2;

    private String b3;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getSendCycle() {
        return sendCycle;
    }

    public void setSendCycle(String sendCycle) {
        this.sendCycle = sendCycle;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getJobAddress() {
        return jobAddress;
    }

    public void setJobAddress(String jobAddress) {
        this.jobAddress = jobAddress;
    }

    public String getDevelopStage() {
        return developStage;
    }

    public void setDevelopStage(String developStage) {
        this.developStage = developStage;
    }

    public String getProfessionField() {
        return professionField;
    }

    public void setProfessionField(String professionField) {
        this.professionField = professionField;
    }

    public String getSalaryScope() {
        return salaryScope;
    }

    public void setSalaryScope(String salaryScope) {
        this.salaryScope = salaryScope;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getB1() {
        return b1;
    }

    public void setB1(String b1) {
        this.b1 = b1;
    }

    public String getB2() {
        return b2;
    }

    public void setB2(String b2) {
        this.b2 = b2;
    }

    public String getB3() {
        return b3;
    }

    public void setB3(String b3) {
        this.b3 = b3;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SubContent other = (SubContent) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getUserEmail() == null ? other.getUserEmail() == null : this.getUserEmail().equals(other.getUserEmail()))
            && (this.getSendCycle() == null ? other.getSendCycle() == null : this.getSendCycle().equals(other.getSendCycle()))
            && (this.getPostName() == null ? other.getPostName() == null : this.getPostName().equals(other.getPostName()))
            && (this.getJobAddress() == null ? other.getJobAddress() == null : this.getJobAddress().equals(other.getJobAddress()))
            && (this.getDevelopStage() == null ? other.getDevelopStage() == null : this.getDevelopStage().equals(other.getDevelopStage()))
            && (this.getProfessionField() == null ? other.getProfessionField() == null : this.getProfessionField().equals(other.getProfessionField()))
            && (this.getSalaryScope() == null ? other.getSalaryScope() == null : this.getSalaryScope().equals(other.getSalaryScope()))
            && (this.getStateId() == null ? other.getStateId() == null : this.getStateId().equals(other.getStateId()))
            && (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getB1() == null ? other.getB1() == null : this.getB1().equals(other.getB1()))
            && (this.getB2() == null ? other.getB2() == null : this.getB2().equals(other.getB2()))
            && (this.getB3() == null ? other.getB3() == null : this.getB3().equals(other.getB3()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getUserEmail() == null) ? 0 : getUserEmail().hashCode());
        result = prime * result + ((getSendCycle() == null) ? 0 : getSendCycle().hashCode());
        result = prime * result + ((getPostName() == null) ? 0 : getPostName().hashCode());
        result = prime * result + ((getJobAddress() == null) ? 0 : getJobAddress().hashCode());
        result = prime * result + ((getDevelopStage() == null) ? 0 : getDevelopStage().hashCode());
        result = prime * result + ((getProfessionField() == null) ? 0 : getProfessionField().hashCode());
        result = prime * result + ((getSalaryScope() == null) ? 0 : getSalaryScope().hashCode());
        result = prime * result + ((getStateId() == null) ? 0 : getStateId().hashCode());
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getB1() == null) ? 0 : getB1().hashCode());
        result = prime * result + ((getB2() == null) ? 0 : getB2().hashCode());
        result = prime * result + ((getB3() == null) ? 0 : getB3().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", userEmail=").append(userEmail);
        sb.append(", sendCycle=").append(sendCycle);
        sb.append(", postName=").append(postName);
        sb.append(", jobAddress=").append(jobAddress);
        sb.append(", developStage=").append(developStage);
        sb.append(", professionField=").append(professionField);
        sb.append(", salaryScope=").append(salaryScope);
        sb.append(", stateId=").append(stateId);
        sb.append(", date=").append(date);
        sb.append(", b1=").append(b1);
        sb.append(", b2=").append(b2);
        sb.append(", b3=").append(b3);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}